package apps.project.upload;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="T_UPLOADFILES")
public class UploadFileBean {
	/**
	* 主键
	*/
	@Column(name = "ID")
	@Id
	private String id;
	
	/**
	* 应用主键
	*/
	@Column(name = "APPID")
	private String appid;
	
	/**
	* 上传文件名
	*/
	@Column(name = "UPPLOAD_FILENAME")
	private String upploadfilename;
	
	/**
	* 上传文件后保存的路径
	*/
	@Column(name = "FILE_SAVEPATH")
	private String filesavepath;
	
	/**
	* 上传文件后保存名称
	*/
	@Column(name = "FILE_SAVENAME")
	private String filesavename;
	
	/**
	* 文件类型
	*/
	@Column(name = "FILE_TYPE")
	private String filetype;
	
	/**
	* 文件大小
	*/
	@Column(name = "FILE_SIZE")
	private int filesize;
	
	/**
	* 创建人
	*/
	@Column(name = "CREATEUSER")
	private String createuser;
	
	/**
	* 创建时间
	*/
	@Column(name = "CREATETIME")
	private Date createtime;

	public UploadFileBean(String upploadfilename, String filesavepath,
			String filesavename, String filetype, int filesize) {
		super();
		this.upploadfilename = upploadfilename;
		this.filesavepath = filesavepath;
		this.filesavename = filesavename;
		this.filetype = filetype;
		this.filesize = filesize;
	}

	public UploadFileBean() {
		super();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getUpploadfilename() {
		return upploadfilename;
	}

	public void setUpploadfilename(String upploadfilename) {
		this.upploadfilename = upploadfilename;
	}

	public String getFilesavepath() {
		return filesavepath;
	}

	public void setFilesavepath(String filesavepath) {
		this.filesavepath = filesavepath;
	}

	public String getFilesavename() {
		return filesavename;
	}

	public void setFilesavename(String filesavename) {
		this.filesavename = filesavename;
	}

	public String getFiletype() {
		return filetype;
	}

	public void setFiletype(String filetype) {
		this.filetype = filetype;
	}

	public int getFilesize() {
		return filesize;
	}

	public void setFilesize(int filesize) {
		this.filesize = filesize;
	}

	public String getCreateuser() {
		return createuser;
	}

	public void setCreateuser(String createuser) {
		this.createuser = createuser;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
		

}